package com.wnhz.work.yz.bean;

import com.wnhz.work.yz.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/6/1.
 */
public class Details0Bean extends BaseBean{


    /**
     * result : 1
     * info : {"pid":"2","type":"0","name":"内装+材料承包","des":"内装+材料承包简介","price":"1200","unit":"㎡","index_pic":["http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c008c2697.png"],"list":[{"cateid":"2","catename":"吊顶工程"},{"cateid":"3","catename":"墙板工程"},{"cateid":"4","catename":"地板工程"},{"cateid":"5","catename":"配件工程"}],"example":[{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png","name":"测试","address":"浙江省杭州市西湖区文三路178号","area":"140.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"}]}
     */

    private String result;
    /**
     * pid : 2
     * type : 0
     * name : 内装+材料承包
     * des : 内装+材料承包简介
     * price : 1200
     * unit : ㎡
     * index_pic : ["http://youzhu.unohacha.com/Uploads/Picture/uploads/20170525/5926c008c2697.png"]
     * list : [{"cateid":"2","catename":"吊顶工程"},{"cateid":"3","catename":"墙板工程"},{"cateid":"4","catename":"地板工程"},{"cateid":"5","catename":"配件工程"}]
     * example : [{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png","name":"测试","address":"浙江省杭州市西湖区文三路178号","area":"140.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"},{"head_img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg","name":"李大爷","address":"杭州北京中国中国","area":"2018.00","img":"http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-05-26/5927c709b56d0.jpg"}]
     */

    private InfoEntity info;

    public void setResult(String result) {
        this.result = result;
    }

    public void setInfo(InfoEntity info) {
        this.info = info;
    }

    public String getResult() {
        return result;
    }

    public InfoEntity getInfo() {
        return info;
    }

    public static class InfoEntity extends BaseBean{
        private String pid;
        private String type;
        private String name;
        private String des;
        private String price;
        private String unit;
        private List<String> index_pic;
        /**
         * cateid : 2
         * catename : 吊顶工程
         */

        private List<ListEntity> list;
        /**
         * head_img : http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png
         * name : 测试
         * address : 浙江省杭州市西湖区文三路178号
         * area : 140.00
         * img : http://youzhu.unohacha.com/Public/Admin/Upload_pic/2017-01-23/5885c0064b931.png
         */

        private List<ExampleEntity> example;

        public void setPid(String pid) {
            this.pid = pid;
        }

        public void setType(String type) {
            this.type = type;
        }

        public void setName(String name) {
            this.name = name;
        }

        public void setDes(String des) {
            this.des = des;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public void setIndex_pic(List<String> index_pic) {
            this.index_pic = index_pic;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public void setExample(List<ExampleEntity> example) {
            this.example = example;
        }

        public String getPid() {
            return pid;
        }

        public String getType() {
            return type;
        }

        public String getName() {
            return name;
        }

        public String getDes() {
            return des;
        }

        public String getPrice() {
            return price;
        }

        public String getUnit() {
            return unit;
        }

        public List<String> getIndex_pic() {
            return index_pic;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public List<ExampleEntity> getExample() {
            return example;
        }

        public static class ListEntity extends BaseBean{
            private String cateid;
            private String catename;

            public void setCateid(String cateid) {
                this.cateid = cateid;
            }

            public void setCatename(String catename) {
                this.catename = catename;
            }

            public String getCateid() {
                return cateid;
            }

            public String getCatename() {
                return catename;
            }

            private List<Info1Entity> info1;

            public List<Info1Entity> getInfo1() {
                return info1;
            }

            public void setInfo1(List<Info1Entity> info1) {
                this.info1 = info1;
            }

            public static class Info1Entity extends BaseBean {
                private String pid;
                private String goods_name;
                private String logo_pic;
                private String price;
                private String unit;
                private String type;

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                /**
                 * desc : 石膏板9mm
                 */

                private String desc;

                public void setPid(String pid) {
                    this.pid = pid;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public void setLogo_pic(String logo_pic) {
                    this.logo_pic = logo_pic;
                }

                public void setPrice(String price) {
                    this.price = price;
                }

                public void setUnit(String unit) {
                    this.unit = unit;
                }

                public String getPid() {
                    return pid;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public String getLogo_pic() {
                    return logo_pic;
                }

                public String getPrice() {
                    return price;
                }

                public String getUnit() {
                    return unit;
                }

                public void setDesc(String desc) {
                    this.desc = desc;
                }

                public String getDesc() {
                    return desc;
                }
            }
        }

        public static class ExampleEntity extends BaseBean{
            private String head_img;
            private String name;
            private String address;
            private String area;
            private String img;

            public void setHead_img(String head_img) {
                this.head_img = head_img;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public void setImg(String img) {
                this.img = img;
            }

            public String getHead_img() {
                return head_img;
            }

            public String getName() {
                return name;
            }

            public String getAddress() {
                return address;
            }

            public String getArea() {
                return area;
            }

            public String getImg() {
                return img;
            }
        }
    }
}
